package com.beiding.jsonanalyzer.analyze.select;

import com.beiding.jsonanalyzer.Key;

/**
 * @author 丁常磊
 * @date 2022/6/11 10:21
 */

public class SelectPair {
    private Key alias;
    private Object exp;

    public SelectPair(Object exp) {
        this.exp = exp;
    }

    public SelectPair as(Key alias) {
        this.alias = alias;
        return this;
    }

    public Key getAlias() {
        return alias;
    }

    public Object getExp() {
        return exp;
    }
}
